import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'chat',
    component: () => import(/* webpackChunkName: "about" */ '../views/chat/index.vue')
  },
  {
    path: '/polify',
    name: 'polify',
    component: () => import(/* webpackChunkName: "about" */ '../views/polify/index.vue')
  },
  {
    path: '/town',
    name: 'town',
    component: () => import(/* webpackChunkName: "about" */ '../views/town/index.vue')
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
